﻿
using System;
using System.Linq;
using System.Text;
using SqlSugar;

namespace Oliving.Edge.Model.Dto
{
    ///<summary>
    ///
    ///</summary> 

    [SugarTable("DTSN_ShangWeiJi")]
    [Serializable]
    public class DTSN_ShangWeiJiDto
    {
        public DTSN_ShangWeiJiDto()
        {
        }


        /// <summary> 
        /// Desc:上位机编号主键 
        /// Default: 
        /// Nullable:False 
        /// </summary>  
        public int ID { get; set; }



        /// <summary> 
        /// Desc:上位机名称 
        /// Default: 
        /// Nullable:True 
        /// </summary>  
        public string SWJ_Name { get; set; }



        /// <summary> 
        /// Desc:上位机代码 
        /// Default: 
        /// Nullable:True 
        /// </summary>  
        public string SWJ_Code { get; set; }



        /// <summary> 
        /// Desc:上位机地址  
        /// Default: 
        /// Nullable:True 
        /// </summary>  
        public string SWJ_Address { get; set; }



        /// <summary> 
        /// Desc:上位机IP 
        /// Default: 
        /// Nullable:True 
        /// </summary>  
        public string SWJ_IP { get; set; }



        public int SWJ_Port { get; set; }

        /// <summary> 
        /// Desc:备注 
        /// Default: 
        /// Nullable:True 
        /// </summary>  
        public string SWJ_Remark { get; set; }



        /// <summary> 
        /// Desc:状态 
        /// Default: 
        /// Nullable:True 
        /// </summary>  
        public int? SWJ_State { get; set; }


    }




    public class DTSN_ShangWeiJiPageDto
    {
        public DTSN_ShangWeiJiPageDto()
        {
        }


        /// <summary> 
        /// Desc:上位机编号主键 
        /// Default: 
        /// Nullable:False 
        /// </summary>  
        public int ID { get; set; }



        /// <summary> 
        /// Desc:上位机名称 
        /// Default: 
        /// Nullable:True 
        /// </summary>  
        public string SWJ_Name { get; set; }



        /// <summary> 
        /// Desc:上位机代码 
        /// Default: 
        /// Nullable:True 
        /// </summary>  
        public string SWJ_Code { get; set; }



        /// <summary> 
        /// Desc:上位机地址  
        /// Default: 
        /// Nullable:True 
        /// </summary>  
        public string SWJ_Address { get; set; }



        /// <summary> 
        /// Desc:上位机IP 
        /// Default: 
        /// Nullable:True 
        /// </summary>  
        public string SWJ_IP { get; set; }


        public int SWJ_Port { get; set; }

        /// <summary> 
        /// Desc:备注 
        /// Default: 
        /// Nullable:True 
        /// </summary>  
        public string SWJ_Remark { get; set; }



        /// <summary> 
        /// Desc:状态 
        /// Default: 
        /// Nullable:True 
        /// </summary>  
        public int? SWJ_State { get; set; }


    }





}
